package com.youlu.campus.entity;
import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import java.util.Date;

/**
 * 用户商品分类购买记录
 */
@Getter
@Setter
@Document(collection = "user_item_pay_record")
public class UserItemCategoryPayRecord extends EntityBase {
    @Indexed
    private String userId;
    @Indexed
    private String categoryId;
    /**
     * prepay:待支付
     * payed:已经支付
     * refund:退款
     */
    private String status;
    /**
     * 支付时间
     */
    private Date payTime;
    /**
     * 备注
     */
    private String comment;


}
